<div class="post">
<%= form_for @post, html: { multipart: true } do |f| %>
  <%= f.label :post_title %>
  <%= f.text_field :title %>

  <%= f.label :post_description %>
  <%= f.text_area :description %>

  <%= f.label :image_upload %>
  <%= f.file_field :image %>

  <%= f.submit %>
<% end %>
</div>